﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BSS.OAuth2
{
    public interface IOAuthProvider
    {
        string GetAuthorizationCodeRequestUrl(string redirectUrl, string scopeCollection);
        string GetAccessToken(string authorizationCode, string redirectUrl);
        IUser GetUser(string accessToken);
    }
}
